**********************************************************************
*TABLE A9: Foreign/offshore owners, 2004 to 2006, all firms in JSCReg
*********************************************************************
local mresult "Results/TableA9.xls"

use "Regressions Data/allJSCReg0406_nown.dta",clear
set more off
keep if year==2004

*FOREIGN
reg foreign_in_chain YuDec, cluster(region) 
outreg2 using `mresult',  replace dec(3) ctitle(Foreign) keep(YuDec)

reg foreign_in_chain YuDec i.modeind, cluster(region) 
outreg2 using `mresult',  append dec(3) ctitle(Foreign) keep(YuDec)

reg foreign_in_chain YuDec lemp tfp privatized i.modeind , cluster(region)
outreg2 using `mresult',  append dec(3) ctitle(Foreign) keep(YuDec lemp tfp privatized)

*OFFSHORE
reg offshore YuDec, cluster(region) 
outreg2 using `mresult',  append dec(3) ctitle(Offshore) keep(YuDec)

reg offshore YuDec i.modeind, cluster(region) 
outreg2 using `mresult',  append dec(3) ctitle(Offshore) keep(YuDec)

reg offshore lemp YuDec tfp privatized i.modeind, cluster(region)
outreg2 using `mresult',  append dec(3) ctitle(Offshore) keep(YuDec lemp tfp privatized)
